<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="referrer" content="no-referrer" />
    <title>电影详情 </title>
</head>
<body>
    <div>
        <%- include('head',{title:'电影详情'}) %>
       <!-- <h2> <%- result %> </h2> -->

        <div class="box">
            <button onclick="history.go(-1)">返回</button>
            <div class="item">
            <%    if(result){  %> 
                    <div >
                        <img src="<%- result.images.large.replace(/img7/,'img3') %>" alt="">
                        <h2><%- result.title %></h2>
                        <p><%- result.original_title %></p>
                        <p>年份 : <%- result.year %> </p>
                        <p>分类 : <%- result.genres %> </p>
                        <p>评分 : <%- result.rating.average %> </p>
                    </div>
            <%     }else{  %> 
                    <p>暂无数据 </p>
            <%     }  %> 
            </div>
        </div>
        <%- include('foot') %>
    </div>
</body>
</html>